package algorithms;

import java.io.*;
import java.util.*;

public class NaiveBayes {

	private int totalNum;
	private int posNum;
	private int negNum;
	
	public NaiveBayes() {
		totalNum = 0;
		posNum = 0;
		negNum = 0;
	}
	
	public void input(String fileName) {		// ?????????????????????
		try{
			String line;
			FileInputStream fin =  new FileInputStream(fileName);
	        BufferedReader bufReader = new BufferedReader(new InputStreamReader(fin));
	        
	        while (( line = bufReader.readLine()) != null) {
	        	
	        }
		} catch (Exception e) {
			e.printStackTrace();
		}
	}
	
	public void train() {
		
	}
	
	public void predict() {
		
	}
	
	public void outputModel(String fileName) {
		
	}
	
	private void smoothing() {
		
	}
	
	/**
	 * @param args
	 */
	public static void main(String[] args) {
		// TODO Auto-generated method stub

	}

}
